package com.example.design.c.adapter;

public class Target implements ITarget{

    private IOrigin iOrigin;

    @Override
    public void newDeal(int type) {
        if(type==0){
            iOrigin.deal();
        }else{
            //做其他
        }
    }
}
